package logic

import "time"

type Company struct {
	Company_id   int       `db:"company_id"  json:"company_id"`
	Company_name string    `db:"company_name"  json:"company_name"`
	Create_time  time.Time `db:"create_time"  json:"create_time"`
	Delete_time  time.Time `db:"delete_time"  json:"delete_time"`
	DelState     int       `db:"del_state"  json:"del_state"`
}

type Staff struct {
	Staff_id         int       `db:"staff_id"  json:"staff_id"`
	Staff_name       string    `db:"staff_name"  json:"staff_name"`
	Staff_Telephone  string    `db:"staff_telephone"  json:"staff_telephone"`
	Staff_Project_id int       `db:"staff_project_id"  json:"staff_project_id"`
	Create_time      time.Time `db:"create_time"  json:"create_time"`
	Delete_time      time.Time `db:"delete_time"  json:"delete_time"`
	DelState         int       `db:"del_state"  json:"del_state"`
	Password         string    `db:"password"  json:"password"`
	Role             string    `db:"role"  json:"role"`
}

type Client struct {
	Client_id         int       `db:"client_id"  json:"client_id"`
	Client_name       string    `db:"client_name"  json:"client_name"`
	Client_Telephone  string    `db:"client_telephone"  json:"client_telephone"`
	Client_Project_id int       `db:"client_project_id"  json:"client_project_id"`
	Create_time       time.Time `db:"create_time"  json:"create_time"`
	Delete_time       time.Time `db:"delete_time"  json:"delete_time"`
	DelState          int       `db:"del_state"  json:"del_state"`
}

type Project struct {
	Project_id     int       `db:"project_id"  json:"project_id"`
	Project_name   string    `db:"project_name"  json:"project_name"`
	Project_Com_id int       `db:"project_com_id"  json:"project_com_id"`
	Create_time    time.Time `db:"create_time"  json:"create_time"`
	Delete_time    time.Time `db:"delete_time"  json:"delete_time"`
	DelState       int       `db:"del_state"  json:"del_state"`
}

type Project_Member struct {
	Project_id          int       `db:"project_id"  json:"project_id"`
	Project_Member_id   int       `db:"project_member_id"  json:"project_member_id"`
	Project_Member_name string    `db:"project_member_name"  json:"project_member_name"`
	Project_Member_Tel  string    `db:"project_member_tel"  json:"project_member_tel"`
	Create_time         time.Time `db:"create_time"  json:"create_time"`
	Delete_time         time.Time `db:"delete_time"  json:"delete_time"`
	DelState            int       `db:"del_state"  json:"del_state"`
	Role                string    `db:"role"  json:"role"`
}
